package com.whisper.common.exception.argument;

import static com.whisper.common.constant.ErrorCodeConstants.ARGUMENT_REPEAT_EXCEPTION;

/**
 * 参数存在异常
 *
 * @author whisper
 */
public class ArgumentRepeatException extends ArgumentException {

    private static final long serialVersionUID = 1L;

    public ArgumentRepeatException()
    {
        super(ARGUMENT_REPEAT_EXCEPTION, "参数重复！", null);
    }

    public ArgumentRepeatException(String msg)
    {
        super(ARGUMENT_REPEAT_EXCEPTION, msg, null);
    }
}
